package ex.strategy.atomix_tx;

/**
 * Created with IntelliJ IDEA.
 * User: sababa
 * Date: 08.02.13
 * Time: 13:54
 * To change this template use File | Settings | File Templates.
 */
public class XEasyManager implements EasyManager {
    public boolean transfer(EasyAccount[] a, int[] i) {
        for (int k = 0; k < a.length; k++) {
            try {
                a[k].change(i[k]);
            } catch (Exception e) {
                return false;
            }
        }
        return true;
    }
}
